<template>
	<div>
		<el-tabs v-model="activeName" class="person-rec-c2c-tabs" @tab-click="handleClick">
			<el-tab-pane label="进行中" name="first">
				<template #default>
					<div class="mt-10px">
						<ContentBox></ContentBox>
					</div>
				</template>
			</el-tab-pane>
			<el-tab-pane label="已完成" name="second">
				<template #default>
					<div class="mt-10px">
						<ContentBox></ContentBox>
					</div>
				</template>
			</el-tab-pane>
		</el-tabs>
	</div>
</template>
<script lang="ts" setup>
import ContentBox from './components/ContentBox.vue';
const activeName = ref('first');

const handleClick = (tab:any, event:any) => {
	console.log(tab, event);
};
</script>
<style lang="scss">
.person-rec-c2c-tabs{
	.el-tabs__nav-wrap:after{
		display: none;
	}
	.el-tabs__header{
		margin: 0;
	}
	.el-tabs__item{
		font-size: 16px;
		color:#86909C;
	}
	.is-active{
		color:#000000;
	}
	.el-tabs__active-bar{
		background-color: #114CEE;
		height: 4px;
	}
}
</style>
